package com.dreamwhale.machinery.service.impl;

import com.dreamwhale.machinery.entity.UserShopCollect;
import com.dreamwhale.machinery.dao.UserShopCollectMapper;
import com.dreamwhale.machinery.service.UserShopCollectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 商户收藏表 服务实现类
 * </p>
 *
 * @author Author
 * @since 2020-06-05
 */
@Service
public class UserShopCollectServiceImpl extends ServiceImpl<UserShopCollectMapper, UserShopCollect> implements UserShopCollectService {

    @Resource
    private UserShopCollectMapper userShopCollectMapper;

    @Override
    public List<UserShopCollect> selectUserShopCollects(Integer userId) {
        return userShopCollectMapper.selectUserShopCollects(userId);
    }
}
